package edu.ynu.se.xiecheng.achitectureclass.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.time.LocalDateTime;

@Entity
@Table(name = "soil_ph_data")
@Data
@EqualsAndHashCode(callSuper = true)
public class SoilPhData extends BaseSensorData {
    @Override
    public String getDefaultName() {
        return "土壤PH值传感器";
    }

    @Override
    public String getDefaultUnit() {
        return "pH";
    }
} 